package com.pan.dao.goods;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface GoodsUpdateDao{
    Integer updateCategoryId(Long id, Long categoryId);
    Integer updateName(Long id, String name);
    Integer updateUnit(Long id, String unit);
    Integer updateTitle(Long id, String title);
    Integer updateImg(Long id, String img);
    Integer updatePrice(Long id, Double price);
    Integer updateDetail(Long id, String detail);
    Integer updateCreateDate(Long id, Timestamp createDate);
    Integer updateUpdateDate(Long id, Timestamp updateDate);
    Integer updateGoodsStatus(Long id, Integer goodsStatus);
    Integer updateSaleCount(Long id, Long saleCount);
}